package com.example.sihookuiklydemo

import android.app.Application
import android.content.res.Configuration
import androidx.appcompat.app.AppCompatDelegate
import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES
import me.jessyan.autosize.AutoSizeConfig

class KRApplication : Application() {

    init {
        application = this
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM)
        AutoSizeConfig.getInstance().setUseDeviceSize(true)
    }

    companion object {
        lateinit var application: Application
    }


}